-record(handshake, {secretkey}).
-record(handshakeresp, {code}).
-record(bound, {type, size}).
-record(error, {code, errormsg}).
-record(login, {server, uid, token, platform, pushkey}).
-record(loginresp, {userinfo, conversationmessage}).
-record(userinfo, {uid, mutenotofication, pushcontent, blacks, follows, emotions, latelyemotions, mutenotofications, sticks}).
-record(conversationinfo, {cid, name, members, status, updatetime}).
-record(conversationmessage, {totalnumber, msg}).
-record(msg, {mid, conversationid, conversationinfo, msgtype, fromuser, members, content, msgtime, msgstatus}).
-record(messageack, {mid, conversationinfo, sid, msgtime, extra}).
-record(pushcontent, {alert, extra}).
-record(kick, {time}).
